home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1672 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!news1!juggler
  3. From: juggler@iquest.net (Phil Paxton)
  4. Subject: Re: What is wrong in this code?
  5. X-Nntp-Posting-Host: dorite.iquest.net
  6. Message-ID: <juggler.821746168@iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IQuest Internet, Inc.
  9. X-Newsreader: NN version 6.5.0 #9 (NOV)
  10. References: <DL2z7o.2K5@scisun.sci.ccny.cuny.edu> <ALUN.CHAMPION.96Jan12175037@g7240065.bridge.bst.bls.com>
  11. Date: Mon, 15 Jan 1996 22:49:28 GMT
  12.  
  13. Alun.Champion@bridge.bst.bls.com (Alun Champion) writes:
  14.  
  15. >In article <DL2z7o.2K5@scisun.sci.ccny.cuny.edu> sergio@sci.ccny.cuny.edu (Sergio Rojas) writes:
  16.  
  17. >: Hello Fellows,
  18.  
  19. >:   I am traying to be literate in C and here is a
  20. >         ^^^^^^^
  21. >How about English first ?;')
  22.  
  23. >In printf there is no distinction between float and double because C promotes
  24. >float's to double's in arguments to functions. In the scanf you are passing
  25. >a pointer to a double or float and so the there is a distinction between them,
  26. >this distinction is the 'l' on the float specifier.
  27.  
  28. If you're going to correct him, then use a better example -- to wit: 
  29. floats and doubles.  
  30.  
  31.  
  32. --
  33.  ------------------------------------
  34.  Phil Paxton :: Fishers, Indiana, USA
  35.